package com.iplant.aps.service.po.aps.table;

import com.fasterxml.jackson.annotation.JsonProperty;

import java.io.Serializable;
import java.util.Calendar;
import java.util.HashMap;
import java.util.Map;

/**
 * APS排程表格行明细
 *
 * @author YouWang·Peng
 * 2023-8-14 16:05:05
 */
public class APSTableRowDetail implements Serializable {
    /**
     * 工艺Id
     */
    public int RoutePartID = 0;
    /**
     * 工艺名称
     */
    public String RoutePartName = "";
    /**
     * 开始时间
     */
    public Calendar StartTime = Calendar.getInstance();
    /**
     * 结束时间
     */
    public Calendar EndTime = Calendar.getInstance();

    /**
     * 每天多少个
     */
    public Map<String, Float> PlanDayNum = new HashMap<>();

    @JsonProperty("RoutePartID")
    public int getRoutePartID() {
        return RoutePartID;
    }

    public void setRoutePartID(int routePartID) {
        RoutePartID = routePartID;
    }

    @JsonProperty("RoutePartName")
    public String getRoutePartName() {
        return RoutePartName;
    }

    public void setRoutePartName(String routePartName) {
        RoutePartName = routePartName;
    }

    @JsonProperty("StartTime")
    public Calendar getStartTime() {
        return StartTime;
    }

    public void setStartTime(Calendar startTime) {
        StartTime = startTime;
    }

    @JsonProperty("EndTime")
    public Calendar getEndTime() {
        return EndTime;
    }

    public void setEndTime(Calendar endTime) {
        EndTime = endTime;
    }

    @JsonProperty("PlanDayNum")
    public Map<String, Float> getPlanDayNum() {
        return PlanDayNum;
    }

    public void setPlanDayNum(Map<String, Float> planDayNum) {
        PlanDayNum = planDayNum;
    }
}
